{% extends 'header.html' %}

{% block content %}
    
    <!-- ===============  breadcrumb area start =============== -->
    <div class="breadcrumb-area">
        <div class="container">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12">
                    <div class="breadcrumb-wrap">
                        <h2>全部景点</h2>
                        <ul class="breadcrumb-links">
                            <li>
                                <a href="/index/">主页</a>
                                <i class="bx bx-chevron-right"></i>
                            </li>
                            <li>全部景点</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- ===============  breadcrumb area end =============== -->
    
    <!-- ===============  Package  area start =============== -->
    <div class="package-area pt-120">
        <div class="container">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12">
                    <div class="section-head pb-45">
                        <h5>选择您的景点</h5>
                        <h2>网站所有的旅游景点</h2>
                    </div>
                </div>
            </div>
            <div class="row">
                {% for obj in queryset %}
                <div class="col-lg-4 col-md-6 col-sm-6 wow fadeInUp animated" data-wow-duration="1500ms" data-wow-delay="0ms">
                    <div class="package-card">
                        <div class="package-thumb">
                            <img src="/media/{{ obj.image }}" alt="" class="img-fluid">
                        </div>
                        <div class="package-details">
                            <div class="package-info">
                                <h5><span>￥{{ obj.price }}</span>/每人</h5>
                                <h5><i class="flaticon-calendar"></i>{{ obj.sname }}</h5>
                            </div>
                            <h3><i class="flaticon-arrival"></i>
                                <a href="/package/{{ obj.id }}/details/">{{ obj.province }} {{ obj.sname }}</a>
                            </h3>
                            <div class="package-rating">
                               <strong><i class='bx bxs-star'></i><span>{{ obj.get_level_display }}</span></strong>
                            </div>
                        </div>
                    </div>
                </div>
                {% endfor %}
            </div>
        </div>
    </div>
     <!-- ===============  Package  area end =============== -->
    
   
     
{% endblock %}